package zww.study.basic;

import java.util.Random;
import java.util.Scanner;

public class HelloWorld {
    public static void main(String[] args) {
        System.out.println("hello");
        // 键盘录入
        Scanner sc = new Scanner(System.in);
        String week = sc.next();
        System.out.println(week);

        // 随机数 Random
        Random r = new Random();
        for(int i=0;i<20;i++){
            // r.nextInt(10) 0~9
            int num = r.nextInt(10);

            System.out.println(num);

        }
    }
}
